home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
C/C++ Users Group Library 1996 July
/
C-C++ Users Group Library July 1996.iso
/
vol_300
/
343_02
/
numdefs.h
< prev
next >
Wrap
Text File
|
1990-08-16
|
555b
|
22 lines
/**************************************************
*
* file d:\cips\numdefs.h
*
* This file contains some macro definitions
* which are used by the get_integer, float,
* short, and long functions.
*
***************************************************/
#define is_digit(x) ((x >= '0' && x <= '9') ? 1 : 0)
#define is_blank(x) ((x == ' ') ? 1 : 0)
#define to_decimal(x) (x - '0')
#define NO_ERROR 0
#define IO_ERROR -1
#define NULL2 '\0'